<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>
    let startAt = new Date().getTime();
    let num=1000000000;
    for(let i=0;i<num;i++){
        let str = "study java webapi";
    }
    let endAt = new Date().getTime();
    num='thisis java'
    console.log(endAt-startAt)
</script>
</html>